#pragma once
#include"link_list.h"
/// <summary>
/// ��ȡ�û��ַ�����ָ���Ч�ַ���ƴ�ӳ�����
/// </summary>
/// <param name="list">�û�̬����</param>
/// <param name="path">�����û������ַ(ע:���ɴ���const�ַ���,��������ʹ����strtok)</param>
/// <returns>�����ַ�Ƿ�ƴ�ӳɹ���ʧ��</returns>
bool address_processing_function(link_list* list, char* path,char*root);
/// <summary>
/// ��ȡ��̬��ַ�������е�ַƴ�ӳɹ�̬��ַ
/// </summary>
/// <param name="list">�û�̬��ַ����</param>
/// <param name="path">�����̬��ַ</param>
/// <param name="result_path">������̬��ַ,�˴����ں�������mallocע������free</param>
/// <returns>�����Ƿ�ɹ�</returns>
bool splicing_pipe_state_address(link_list* list, const char* path, char* result_path);
/// <summary>
/// ��ȡ��ַ�������ļ���Ϣ
/// </summary>
/// <param name="path">��̬������ַ</param>
/// <param name="message">�����ļ���Ϣ</param>
/// <returns>�Ƿ�ɹ�</returns>
int readdir_name(char* path, char* message);
